bufio.Scanner.end (field)
14 uses
bufio (current package)
scan.go#L36: end int // End of data in buf.
scan.go#L145: if s.end > s.start || s.err != nil {
scan.go#L146: advance, token, err := s.split(s.buf[s.start:s.end], s.err != nil)
scan.go#L178: s.end = 0
scan.go#L184: if s.start > 0 && (s.end == len(s.buf) || s.start > len(s.buf)/2) {
scan.go#L185: copy(s.buf, s.buf[s.start:s.end])
scan.go#L186: s.end -= s.start
scan.go#L190: if s.end == len(s.buf) {
scan.go#L205: copy(newBuf, s.buf[s.start:s.end])
scan.go#L207: s.end -= s.start
scan.go#L214: n, err := s.r.Read(s.buf[s.end:len(s.buf)])
scan.go#L215: if n < 0 || len(s.buf)-s.end < n {
scan.go#L219: s.end += n
scan.go#L243: if n > s.end-s.start {
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |